package cn.ayanami.blog.system.constant;

public class SystemConstant {
    private SystemConstant(){
    }


    public enum ARTICLE_TYPE {
        MICRO_BLOG("MICRO_BLOG",(byte)1),
        ARTICLE("ARTICLE", (byte)2);

        private String name;
        private byte value;

        private ARTICLE_TYPE(String name, byte value) {
            this.name = name;
            this.value = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public byte getValue() {
            return value;
        }

        public void setValue(byte value) {
            this.value = value;
        }

    }
}
